package com.realone.packman.codec.encoder.vo;

/**
 * 设置BMS充电参数 请求对象
 *
 * @author hugx
 * @create 2018-09-14 15:57
 */
public class BmsEncoderDataVo07 extends BmsEncoderDataVo {

    private double overVoltage =4.25;//电池充电保护电压 单位V，默认4.25
    private double overVoltageRestore =4.1;//电池过充电恢复电压 单位V，默认4.1
    private short chargeOverCurrent =450;//电池充电保护电流  单位A，默认45
    private short chargeUnbalanceCurrent =250;// 电池充电失衡电流  单位A，默认25
    private double chargeUnbalanceVoltage = 0.3;// 电池充电失衡电压 单位V，默认0.3
    private byte chargeHighTemperature = 50;//电池充电高温门限，25-127℃，默认50
    private byte chargeLowTemperature = 0;//电池充电低温门限，-127-25℃，默认0

    private double chargeBalanceVoltage =4.2;//电池充电均衡启动电压  单位V，默认4.2
    private double chargeBalanceendVoltage = 4.2; //电池过充电均衡停止电压  单位V，默认4.2

    /**
     * 电池充电保护电压 单位V，默认4.25
     * @return
     */
    public double getOverVoltage() {
        return overVoltage;
    }

    /**
     * 电池充电保护电压 单位V，默认4.25
     * 注： 在赋值时需要乘1000,如：4.25 * 1000 = 4250
     * @param overVoltage
     */
    public void setOverVoltage(double overVoltage) {
        this.overVoltage = overVoltage;
    }

    /**
     * 电池过充电恢复电压 单位V，默认4.1
     * 注： 在赋值时需要乘1000,如：4.1 * 1000 = 4100
     * @return
     */
    public double getOverVoltageRestore() {
        return overVoltageRestore;
    }

    /**
     * 电池过充电恢复电压 单位V，默认4.1
     * @param overVoltageRestore
     */
    public void setOverVoltageRestore(double overVoltageRestore) {
        this.overVoltageRestore = overVoltageRestore;
    }

    /**
     * 电池充电保护电流  单位A，默认45
     * @return
     */
    public short getChargeOverCurrent() {
        return chargeOverCurrent;
    }

    /**
     * 电池充电保护电流  单位A，默认45
     * 注： 在赋值时需要乘10,如：45 * 10 = 450
     * @param chargeOverCurrent
     */
    public void setChargeOverCurrent(short chargeOverCurrent) {
        this.chargeOverCurrent = chargeOverCurrent;
    }

    /**
     * 电池充电失衡电流  单位A，默认25
     * @return
     */
    public short getChargeUnbalanceCurrent() {
        return chargeUnbalanceCurrent;
    }

    /**
     * 电池充电失衡电流  单位A，默认25
     * 注： 在赋值时需要乘10,如：25 * 10 = 250
     * @param chargeUnbalanceCurrent
     */
    public void setChargeUnbalanceCurrent(short chargeUnbalanceCurrent) {
        this.chargeUnbalanceCurrent = chargeUnbalanceCurrent;
    }

    /**
     * 电池充电失衡电压 单位V，默认0.3
     * @return
     */
    public double getChargeUnbalanceVoltage() {
        return chargeUnbalanceVoltage;
    }

    /**
     * 电池充电失衡电压 单位V，默认0.3
     * 注： 在赋值时需要乘1000,如：0.3 * 1000 = 300
     * @param chargeUnbalanceVoltage
     */
    public void setChargeUnbalanceVoltage(double chargeUnbalanceVoltage) {
        this.chargeUnbalanceVoltage = chargeUnbalanceVoltage;
    }

    /**
     * 电池充电高温门限，25-127℃，默认50
     * @return
     */
    public byte getChargeHighTemperature() {
        return chargeHighTemperature;
    }

    /**
     * 电池充电高温门限，25-127℃，默认50
     * @param chargeHighTemperature
     */
    public void setChargeHighTemperature(byte chargeHighTemperature) {
        this.chargeHighTemperature = chargeHighTemperature;
    }

    /**
     * 电池充电低温门限，-127-25℃，默认0
     * @return
     */
    public byte getChargeLowTemperature() {
        return chargeLowTemperature;
    }

    /**
     * 电池充电低温门限，-127-25℃，默认0
     * @param chargeLowTemperature
     */
    public void setChargeLowTemperature(byte chargeLowTemperature) {
        this.chargeLowTemperature = chargeLowTemperature;
    }

    /**
     * 电池充电均衡启动电压  单位V，默认4.2
     * @return
     */
    public double getChargeBalanceVoltage() {
        return chargeBalanceVoltage;
    }

    /**
     * 电池充电均衡启动电压  单位V，默认4.2
     * 注： 在赋值时需要乘1000,如：4.2 * 1000 = 4200
     * @param chargeBalanceVoltage
     */
    public void setChargeBalanceVoltage(double chargeBalanceVoltage) {
        this.chargeBalanceVoltage = chargeBalanceVoltage;
    }

    /**
     * 电池过充电均衡停止电压  单位V，默认4.2
     * @return
     */
    public double getChargeBalanceendVoltage() {
        return chargeBalanceendVoltage;
    }

    /**
     * 电池过充电均衡停止电压  单位V，默认4.2
     * 注： 在赋值时需要乘1000,如：4.2 * 1000 = 4200
     * @param chargeBalanceendVoltage
     */
    public void setChargeBalanceendVoltage(double chargeBalanceendVoltage) {
        this.chargeBalanceendVoltage = chargeBalanceendVoltage;
    }


}
